package com.yue.pattern.proxy;

/**
 * Created by qiuyang on 2017/7/21.
 */
public class Proxy implements ProxyInterface {
    private ProxyInterface proxyInterface;

    public Proxy() {
        this.proxyInterface = new ProxyInterfaceInstance();
    }

    @Override
    public void say() {
        proxyInterface.say();
    }

    public static void main(String[] args) {

    }
}
